package com.dbsop.domain.transport;

import com.dbsop.domain.EsConditionLtRange;
import com.dbsop.domain.transport.query.GtRangeQuery;

/**
 * Es条件查询 子查询
 */
public class EsTransportConditionLtRange extends EsConditionLtRange {

    private EsTransportCondition esTransportCondition;

    private GtRangeQuery gtRangeQuery;

    public EsTransportConditionLtRange(EsTransportCondition esTransportCondition) {
        this.esTransportCondition = esTransportCondition;
    }

    public EsTransportConditionLtRange(EsTransportCondition esTransportCondition, GtRangeQuery gtRangeQuery) {
        this.esTransportCondition = esTransportCondition;
        this.gtRangeQuery = gtRangeQuery;
    }

    public EsTransportCondition lt(Object value){
            gtRangeQuery.lt(value);
            return esTransportCondition;
    }

    public EsTransportCondition lte(Object value){
        gtRangeQuery.lte(value);
        return esTransportCondition;
    }

}
